package com.web.portal.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_file")
@ApiModel(description = "IFile")
public class IFile {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    @TableField("context_id")
    private String contextId;
    @TableField("url")
    private String url;
    @TableField("state")
    private String state = "1";
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @TableField("file_type")
    private String fileType;
    @TableField("remake")
    private String remake;
    @TableLogic
    @TableField(value = "is_delete", fill = FieldFill.INSERT)
    private Integer isDelete;
    @TableField("surface_url")
    private String surfaceUrl;
    @TableField("to_flag")
    private String toFlag;


}
